<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/user/update" method="post">
<table>
    <tr>
        <td>id</td>
        <td>姓名</td>
        <td>性别</td>
        <td>密码</td>
        <td>年龄</td>
        <td>手机号</td>
    </tr>
    <tr th:object="${user}">
        <td>
            <input type="text" name="id" th:value="*{id}" readonly>
        </td>
        <td>
            <input type="text" name="name" th:value="*{name}">
        </td>
        <td>
            <input type="text" name="gender" th:value="*{gender}">
        </td>
        <td>
            <input type="text" name="password" th:value="*{password}">
        </td>
        <td>
            <input type="text" name="age" th:value="*{age}">
        </td>
        <td>
            <input type="text" name="tel" th:value="*{tel}">
        </td>
        <td>
            <input type="submit" value="确认修改">
        </td>
    </tr>
</table>
</form>
</body>
</html>